home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc Source Code / Utilities / Interfaces / UtilDefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-22  |  1.6 KB  |  57 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        UtilDefs.h
  3.  
  4.     Contains:    constants used in both the code & resource of Info Utilities
  5.  
  6.     Owned by:    Tantek Çelik
  7.  
  8.     Copyright:    © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     
  11.     In Progress:
  12.         
  13. */
  14.  
  15. #ifndef _UTILDEFS_
  16. #define _UTILDEFS_
  17.  
  18. /* If you update kODUtilitiesRsrcBase do it in RsrcBase.h also. */
  19. #define kODUtilitiesRsrcBase    600
  20.  
  21. // String used by ODGetCategory
  22. #define kODPartInfoStrUnknownID            (kODUtilitiesRsrcBase+0)
  23.  
  24. // Other Strings used by InfoUtil
  25. #define    kODInfoUtilStrsID                (kODUtilitiesRsrcBase+1)
  26. #define kODStrIndNoKinds                    1
  27. #define kODStrIndNoEditors                    2
  28.  
  29. // Strings used by shell and platformfile
  30. #define kCopyDefaultNameNoNumStrID        (kODUtilitiesRsrcBase + 2)
  31. #define kCopyDefaultNameWithNumStrID    (kODUtilitiesRsrcBase + 3)
  32. #define kConcatDefaultNameNoNumStrID    (kODUtilitiesRsrcBase + 4)
  33.  
  34.  
  35. // For Part Name renaming (when it is the root part of the document)
  36. // Used by ODSetPartName
  37. /* Name Conflict dialog defines */
  38. #define kNameConflictDlgID                (kODUtilitiesRsrcBase+0)
  39. #define kNameConflictCancelBtn                1
  40. #define kNameConflictReplaceBtn                   2
  41. #define kNameConflictTextItem                3
  42. #define kNameConflictDefaultButtonItem        4
  43.  
  44. /* File Replace error alert defines */
  45. #define kFilelockedAlrtID                (kODUtilitiesRsrcBase+1)
  46. #define kOkBtn                                   1
  47.  
  48. /* SOM error alert/dialog from ODDebug.cpp: */
  49. #define kSOMErrorAlertID                (kODUtilitiesRsrcBase+2)
  50. #define kSOMErrorDlogID                    (kODUtilitiesRsrcBase+3)
  51. #define kSOMErrorDlogTextItem               3
  52. #define kSOMErrorDlogDebugButton           2
  53. #define kSOMErrorDlogFontInfo            (kODUtilitiesRsrcBase+4)
  54.  
  55.  
  56. #endif // _UTILDEFS_
  57.